﻿namespace Sidvall.UI.Entities
{
    public class MenuItemCollection : BusinessBaseCollection<MenuItem>
    {
        #region Business Members

        #region Add

        public void Add(string id, string code, string name, string description, string image1, string image2, System.Type targetType)
        {
            var item = new MenuItem()
            {
                Id = id,
                Code = code,
                Name = name,
                Description = description,
                Image1 = image1,
                Image2 = image2,
                TargetType = targetType,
            };
            Add(item);
        }

        #endregion

        #endregion
        #region Constructors

        public MenuItemCollection()
        {
        }

        #endregion
    }
}
